html {
    font-size: 14px;
}

.el-form-item__content .el-input .el-input__inner {
    height: 32px;
}

@media only screen and (max-width: 1024px) {
    html {
        font-size: 12px;
    }

    .el-form-item__content .el-input .el-input__inner {
        height: 24px;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol';
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.mainpage {
    width: 100%;
    height: 100%;
}

/*=============================顶部工具栏================================*/
.mt-toolbar {
    width: 100%;
    padding: 1rem;
    background-color: white;
}

.el-button {
    font-size: 1rem;
    padding: 8px 1rem;
}

/*=============================列表页面================================*/
.mt-search-form {
    padding: 0 1rem;
    background-color: white;
}

.mt-search-form .mt-form {
    width: 100%;
}

.mt-list-content {
    margin-top: 16px;
    padding: 0;
    background-color: white;
}

.mt-page.el-pagination {
    padding: 16px 2px;
    text-align: center;
}

/*=============================编辑页面================================*/
.mt-edit-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    box-sizing: border-box;
    background-color: white;
}

.mt-edit-content .mt-form {
    width: 100%;
}

.edit .el-form {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}

.edit .el-form .el-form-item__content {
    max-width: 220px;
}

.edit .el-form.one-col {
    width: 300px;
}

.edit .el-form.two-col .el-form-item {
    width: 50%;
}

.edit .el-form.three-col .el-form-item {
    width: 33.333333%;
}

/*=============================查看页面================================*/
.mt-view-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    box-sizing: border-box;
    background-color: white;
}

/*=============================组件==============================*/
hr {
    height: 1px;
    margin: 10px auto;
    background-color: #DCDFE6;
    border: none;
}

.el-button.el-button--mini {
    font-size: 12px;
    padding: 8px 12px;
}

.el-dialog__body {
    max-height: calc(85vh - 200px);
    overflow-y: auto;
}

/*               ============表单============              */
.el-form-item {
    margin-bottom: 18px;
}

/*.el-form-item__label {
    font-size: 1rem;
}

.el-form-item__content .el-input,
.el-input__icon {
    height: 1.8rem;
    line-height: 1.8rem;
}

.el-input__icon {
    color: #1890FF;
    font-weight: bold;
}

.el-input__icon:hover {
    cursor: pointer;
}

.el-form-item__content .el-input .el-input__inner {
    font-size: 1rem;
}*/

/*               ============列表============              */
.el-table__header {
    height: 3.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(31, 45, 61, 1);
}


.el-table__body {
    font-size: 1rem;
}

.mt-table-header th {
    text-align: center;
}

.mt-table-cell .cell {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt-table-cell .el-divider--vertical {
    margin: 0 1px;
}